package com.example.java.base.concurrency.threadpool.task;

/**
 * SubThread:演示newFixedThreadPool出错的情况的Task
 *
 * @author zhangxiaoxiang
 * @date 2020/11/05
 */
public class SubThread implements Runnable {
    @Override
    public void run() {
        try {
            //保证线程存活
            Thread.sleep(1000000000);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}
